package com.bestow.loan.service;

import java.util.List;
import com.bestow.loan.domain.InvFinanceProducts;

/**
 * 理财产品定义Service接口
 * 
 * @author liliu
 * @date 2022-09-04
 */
public interface IInvFinanceProductsService 
{
    /**
     * 查询理财产品定义
     * 
     * @param financeProductsId 理财产品定义主键
     * @return 理财产品定义
     */
    public InvFinanceProducts selectInvFinanceProductsByFinanceProductsId(Long financeProductsId);

    /**
     * 查询理财产品定义列表
     * 
     * @param invFinanceProducts 理财产品定义
     * @return 理财产品定义集合
     */
    public List<InvFinanceProducts> selectInvFinanceProductsList(InvFinanceProducts invFinanceProducts);

    /**
     * 新增理财产品定义
     * 
     * @param invFinanceProducts 理财产品定义
     * @return 结果
     */
    public int insertInvFinanceProducts(InvFinanceProducts invFinanceProducts);

    /**
     * 修改理财产品定义
     * 
     * @param invFinanceProducts 理财产品定义
     * @return 结果
     */
    public int updateInvFinanceProducts(InvFinanceProducts invFinanceProducts);

    /**
     * 批量删除理财产品定义
     * 
     * @param financeProductsIds 需要删除的理财产品定义主键集合
     * @return 结果
     */
    public int deleteInvFinanceProductsByFinanceProductsIds(Long[] financeProductsIds);

    /**
     * 删除理财产品定义信息
     * 
     * @param financeProductsId 理财产品定义主键
     * @return 结果
     */
    public int deleteInvFinanceProductsByFinanceProductsId(Long financeProductsId);
}
